package cn.tedu.submarine;

import java.util.Random;

public class ObserveSubmarine {
    int width;
    int height;
    int x;
    int y;
    int speed;
    ObserveSubmarine(){
        width =63;
        height=19;
        x=-width;
        Random rand = new Random();
        y= rand.nextInt(479-height-150+1)+150;
        speed=rand.nextInt(3)+1;
    }
    void move(){
        System.out.println("侦查潜艇移动");
    }

}
